#include "Sequential_Queue.h"

int main(){
    Sequential_queue_t * queue = NULL;
    Sequential_queue_init(&queue,4);
    LOG("enqueue\n");
    Sequential_queue_enqueue(queue,1);
    Sequential_queue_enqueue(queue,2);
    Sequential_queue_enqueue(queue,3);
    Sequential_queue_enqueue(queue,4);
    Sequential_queue_select(queue);
    LOG("dequeue\n");
    int data = 0;
    Sequential_queue_dequeue(queue,&data);
    LOG("data:%d\n",data);
    Sequential_queue_select(queue);
    Sequential_queue_destory(queue);
    return 0;
}